// OptionCommand.h: interface for the COptionCommand class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_OPTIONCOMMAND_H__EBA4357C_464D_4C22_9EF6_AEBC9B8DFEB1__INCLUDED_)
#define AFX_OPTIONCOMMAND_H__EBA4357C_464D_4C22_9EF6_AEBC9B8DFEB1__INCLUDED_

#include "TelnetCommand.h"
#include "TelnetOption.h"
#include "ITelnetOptionCollection.h"

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

class COptionCommand : public CTelnetCommand
{
protected:
	ITelnetOptionCollection *m_pOptionCol;
	CTelnetOption *m_pOption;
	void setOption(CTelnetOption *pOption);
	virtual void DealOption();

public:
	virtual BOOL EatChar(char c);

public:
	COptionCommand(ITelnetOptionCollection *pOptionCol);
	virtual ~COptionCommand();

};

#endif // !defined(AFX_OPTIONCOMMAND_H__EBA4357C_464D_4C22_9EF6_AEBC9B8DFEB1__INCLUDED_)
